//
//  UILabel+Category.m
//  新浪微博OC
//
//  Created by  justinchou on 16/2/26.
//  Copyright © 2016年  justinchou. All rights reserved.
//

#import "UILabel+Category.h"

@implementation UILabel (Category)

- (UILabel *)initWithText:(NSString *)text TextColor:(UIColor *)color FontSize:(CGFloat)fontSize {
    self = [[UILabel alloc] init];

    self.text = text;
    self.numberOfLines = 0;
    self.textAlignment = NSTextAlignmentCenter;
    self.textColor = color;
    self.font = [UIFont systemFontOfSize:fontSize];
    
    return self;
}

@end
